package com.bestsoft.flow.domain;

import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 供应商流向对象 flow_gyslx
 * 
 * @author 崔健
 * @date 2023-07-24
 */
public class FlowGyslxTrans extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商流向ID */
    private Long gyslxid;

    /** 企业ID */
    private String entid;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dates;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodscode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsname;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String goodsspec;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 产地 */
    @Excel(name = "产地")
    private String place;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String supplycode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyname;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal num;

    /** 含税进价 */
    @Excel(name = "含税进价")
    private BigDecimal purtaxprice;

    /** 含税金额 */
    @Excel(name = "含税金额")
    private String taxamount;

    /** 商品批号 */
    @Excel(name = "商品批号")
    private String batchcode;

    /** 有效期至 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd")
    private Date valdate;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private String goodsfl;

    /** 货位名称 */
    @Excel(name = "货位名称")
    private String locatname;

    /** 摘要 */
    @Excel(name = "摘要")
    private String summaries;

    /** 商品助记码 */
    private String goodlogogram;

    /** 生产厂家助记码 */
    private String manulogogram;

    public void setGyslxid(Long gyslxid) 
    {
        this.gyslxid = gyslxid;
    }

    public Long getGyslxid() 
    {
        return gyslxid;
    }
    public void setEntid(String entid) 
    {
        this.entid = entid;
    }

    public String getEntid() 
    {
        return entid;
    }
    public void setDates(Date dates) 
    {
        this.dates = dates;
    }

    public Date getDates() 
    {
        return dates;
    }
    public void setGoodscode(String goodscode) 
    {
        this.goodscode = goodscode;
    }

    public String getGoodscode() 
    {
        return goodscode;
    }
    public void setGoodsname(String goodsname) 
    {
        this.goodsname = goodsname;
    }

    public String getGoodsname() 
    {
        return goodsname;
    }
    public void setGoodsspec(String goodsspec) 
    {
        this.goodsspec = goodsspec;
    }

    public String getGoodsspec() 
    {
        return goodsspec;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setSupplycode(String supplycode) 
    {
        this.supplycode = supplycode;
    }

    public String getSupplycode() 
    {
        return supplycode;
    }
    public void setSupplyname(String supplyname) 
    {
        this.supplyname = supplyname;
    }

    public String getSupplyname() 
    {
        return supplyname;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setPurtaxprice(BigDecimal purtaxprice) 
    {
        this.purtaxprice = purtaxprice;
    }

    public BigDecimal getPurtaxprice() 
    {
        return purtaxprice;
    }
    public void setTaxamount(String taxamount) 
    {
        this.taxamount = taxamount;
    }

    public String getTaxamount() 
    {
        return taxamount;
    }
    public void setBatchcode(String batchcode) 
    {
        this.batchcode = batchcode;
    }

    public String getBatchcode() 
    {
        return batchcode;
    }
    public void setValdate(Date valdate) 
    {
        this.valdate = valdate;
    }

    public Date getValdate() 
    {
        return valdate;
    }
    public void setGoodsfl(String goodsfl) 
    {
        this.goodsfl = goodsfl;
    }

    public String getGoodsfl() 
    {
        return goodsfl;
    }
    public void setLocatname(String locatname) 
    {
        this.locatname = locatname;
    }

    public String getLocatname() 
    {
        return locatname;
    }
    public void setSummaries(String summaries) 
    {
        this.summaries = summaries;
    }

    public String getSummaries() 
    {
        return summaries;
    }
    public void setGoodlogogram(String goodlogogram) 
    {
        this.goodlogogram = goodlogogram;
    }

    public String getGoodlogogram() 
    {
        return goodlogogram;
    }
    public void setManulogogram(String manulogogram) 
    {
        this.manulogogram = manulogogram;
    }

    public String getManulogogram() 
    {
        return manulogogram;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gyslxid", getGyslxid())
            .append("entid", getEntid())
            .append("dates", getDates())
            .append("goodscode", getGoodscode())
            .append("goodsname", getGoodsname())
            .append("goodsspec", getGoodsspec())
            .append("manufacturer", getManufacturer())
            .append("unit", getUnit())
            .append("place", getPlace())
            .append("supplycode", getSupplycode())
            .append("supplyname", getSupplyname())
            .append("num", getNum())
            .append("purtaxprice", getPurtaxprice())
            .append("taxamount", getTaxamount())
            .append("batchcode", getBatchcode())
            .append("valdate", getValdate())
            .append("goodsfl", getGoodsfl())
            .append("locatname", getLocatname())
            .append("summaries", getSummaries())
            .append("goodlogogram", getGoodlogogram())
            .append("manulogogram", getManulogogram())
            .toString();
    }
}
